package com.emergency.data.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("启动应急响应VO")
public class StartResponseParam {

    @ApiModelProperty("响应等级 1-一级 2-二级 3-三级 4-四级")
    @NotNull(message = "grade 不能为null")
    private Integer grade;

    @ApiModelProperty("县级部门id数组")
    @NotNull(message = "countyDepIdList 不能为null")
    private List<Long> countyDepIdList;

    @ApiModelProperty("镇级部门id数组")
    @NotNull(message = "townDepIdList 不能为null")
    private List<Long> townDepIdList;

    @ApiModelProperty("村级部门id数组")
    @NotNull(message = "villageDepIdList 不能为null")
    private List<Long> villageDepIdList;
}
